get last day of month typescript

81

calculate last day of month javascript typescript -

var today = new Date();
var lastDayOfMonth = new Date(today.getFullYear(), today.getMonth()+1, 0);

Comments

Submit
0 Comments